package com.cloud.api.domain.sys;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author haohaibo
 * @since 2024-10-14
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("global_data_permit")
@Schema(name = "GlobalDataPermit", description = "")
public class GlobalDataPermit implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("fun_id")
    @NotEmpty(message = "功能ID不能为空")
    private String funId;

    @TableField("fun_desp")
    @NotEmpty(message = "功能描述不能为空")
    private String funDesp;
}
